<template>
  <div class="index-wrap">
    <div class="back" @click="backtop()">
          <img src="https://a.msstatic.com/huya/mobile/widget/rightSide/img/right_side_toTop_d9bf07a.png" class="imgs-wa">
  </div>
  </div>
</template>

<script>

export default {    
    name: 'Index',
  props:["bscroll"],
  methods:{
      backtop(){
          this.$emit("sendBackTop")
      }
  }
}
</script>
<style>
 .back{
             width:60px;
             height:60px;
             background:rgb(76, 74, 82);

                 text-align: center;
                 /* line-height: 50px; */
            position:absolute;
            z-Index:999;
            bottom:111px;
           right:0px;
           
}
.imgs-wa{
    margin: 17px 0px 9px 5px;
}
</style>